<?php
echo $ip=$_SERVER['REMOTE_ADDR'];
?>